package com.example.system.domain.question.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lily
 * Date: 2024-12-04
 * Time: 10:42
 */
@Getter
@Setter
public class QuestionAddDTO {

    @Schema(description = "标题")
    private String title;

    @Schema(description = "难度")
    private Integer difficulty;

    @Schema(description ="时间限制")
    private Long timeLimit;

    @Schema(description = "空间限制")
    private Long spaceLimit;

    @Schema(description = "题目内容")
    private String content;

    @Schema(description = "题目用例")
    private String questionCase;

    @Schema(description = "默认代码块")
    private String defaultCode;

    @Schema(description = "main函数")
    private String mainFunc;
}